﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ResourceCommentNew.aspx.cs"
    Inherits="sysadmin_CourseManager_ResourceCommentNew" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>课件点评管理</title>
    <link href="../../css/1/css/css.css" type="text/css" rel="stylesheet" />
</head>
<body class="bodymain">
    <form id="form1" runat="server">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tree-titbg_right">
            <tr>
                <td class="tree-titbg_left">
                    <asp:Label ID="lbl_InfoTitle" runat="server" Text="点评信息"></asp:Label></td>
            </tr>
        </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableList2">
            <tr>
                <th>
                    <asp:Label ID="lbl_UserName" runat="server" Text="帐号名称"></asp:Label></th>
                <td>
                    <asp:TextBox ID="txt_UserName" runat="server"></asp:TextBox></td>
                <th>
                    <asp:Label ID="lbl_RealName" runat="server" Text="真实姓名"></asp:Label></th>
                <td>
                    <asp:TextBox ID="txt_RealName" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <th>
                    <asp:Label ID="lbl_Title" runat="server" Text="评论标题"></asp:Label></th>
                <td colspan="3">
                    <asp:TextBox ID="txt_Title" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="4" class="tree-bottom-bg">
                    <asp:Button ID="btn_Search" runat="server" Text="搜索" CssClass="inputBotton2" OnClick="btn_Search_Click" />&nbsp;
                </td>
            </tr>
        </table>
        <asp:Repeater ID="rpt_Comment" runat="server" OnItemCommand="rpt_Comment_ItemCommand">
            <HeaderTemplate>
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="mainList">
                    <tr>
                        <th>
                            <%=GetLanageValueByKey("lbl_EditStudent_LoadingName", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                            &nbsp;
                            <!--  帐户-->
                        </th>
                        <th>
                            <%=GetLanageValueByKey("lbl_EditStudent_Name", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                            &nbsp;
                            <!--真实姓名-->
                        </th>
                        <th>
                            <%=GetLanageValueByKey("ResourceComment_gv_c1", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                            <!--评论标题-->
                        </th>
                        <th>
                            <%=GetLanageValueByKey("ResourceComment_gv_c2", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                            <!--课件时间点-->
                        </th>
                        <th>
                            <%=GetLanageValueByKey("ResourceComment_gv_c3", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                            <!--评论状态-->
                        </th>
                        <th>
                            <%=GetLanageValueByKey("ManagerRole_gv_c4", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                            &nbsp;
                            <!-- 操作-->
                        </th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <%#Eval("CreatedUserName")%>
                        <asp:Label ID="lblid" runat="server" Text='<%#Eval("CommentID")%>' Visible="False"></asp:Label>
                    </td>
                    <td>
                        <%#Eval("CreatedRealName")%>
                        &nbsp;
                    </td>
                    <td>
                        <%#Eval("Title")%>
                        &nbsp;
                    </td>
                    <td>
                        <%#Eval("PlayTime")%>
                        &nbsp;
                    </td>
                    <td>
                        <%#Eval("IsState")%>
                        &nbsp;
                    </td>
                    <td>
                        <asp:LinkButton ID="lnkbtn_auditing" runat="server" CommandName="lauditing" CommandArgument='<%#Eval("CommentID")%>'><%=GetLanageValueByKey("TeacherManager_gv_c1", PowerCreator.LMS.Language.LanagetItemType.Page)%>&nbsp;
                        <!--审核--></asp:LinkButton>
                        | &nbsp;<asp:LinkButton ID="lnkbtn_del" runat="server" CommandName="ldel" CommandArgument='<%#Eval("CommentID")%>'><%=GetLanageValueByKey("ManagerRole_gv_lnk_o2", PowerCreator.LMS.Language.LanagetItemType.Page)%>&nbsp;
                            <!-- 删除--></asp:LinkButton>
                        <asp:Label ID="lbl_rpt_msg" runat="server" Text="" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td align="center">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center" OnPageChanged="AspNetPager1_PageChanged"
                        ShowCustomInfoSection="Left" Width="100%" meta:resourcekey="AspNetPager1" Style="font-size: 14px"
                        InputBoxStyle="width:19px" CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%"
                        FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
